<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/views/_include.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>sections</title>
</head>
<body>
<h1>sections</h1>

<%--todo--%>
<table border="1">
    <tr>
        <th>name</th>
        <th>type</th>
        <th>topicNum</th>
        <th>sectionId</th>
        <th>pSectionId</th>
        <th>webmasterId</th>
        <th>进入</th>
    </tr>
    <c:forEach items="${sectionList}" var="section">
        <tr>
            <td><c:out value="${section.name}"/></td>
            <td><c:out value="${section.type}"/></td>
            <td><c:out value="${section.topicNum}"/></td>
            <td><c:out value="${section.sectionId}"/></td>
            <td><c:out value="${section.pSectionId}"/></td>
            <td><c:out value="${section.webmasterId}"/></td>
            <td><a href='section/${section.sectionId}'>进入</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
